package com.isoftstone.studentregistration.pojo;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Users {
    @Alias("编号")
    private Integer id;
    @Alias("用户名")
    private String username;
    @Alias("密码")
    private String password;
    @Alias("手机号")
    private String phone;
    @Alias("头像")
    private String photo;
    @Alias("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createDate;
    @Alias("更新时间")
    private Date updateDate;
    @Alias("状态")
    private Integer status;
    @Alias("部门")
    private String dept;

}
